﻿using Wisdom.Core;

namespace Wisdom.Web.Mvc
{
    public abstract class ExtendedMvcApplication : ExtendedHttpApplication
    {
        protected override IApplication CreateApplication(AppRuntime appRuntime)
        {
            return CreateApplication(appRuntime.Configure().WithApplication<MvcApplication>());
        }

        protected abstract IApplication CreateApplication(IApplicationConfigurator appConfigurator);
    }
}